From dda2bfd212a28e298c4ed726d55295732e24cc20 Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Fri, 5 Sep 2014 01:15:11 -0700 Subject: [PATCH] Add back fix for cross compile tests This change was accidentally included in the reverted commit. --- tests/test_cargo_cross_compile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cargo_cross_compile.rs b/tests/test_cargo_cross_compile.rs index 1dabc64ff..13c1c6663 100644 --- a/tests/test_cargo_cross_compile.rs +++ b/tests/test_cargo_cross_compile.rs @@ -163,7 +163,7 @@ test!(plugin_deps { } fn expand_bar(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) - -> Box { + -> Box { MacExpr::new(quote_expr!(cx, 1i)) } "#); @@ -245,7 +245,7 @@ test!(plugin_to_the_max { } fn expand_bar(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) - -> Box { + -> Box { MacExpr::new(quote_expr!(cx, baz::baz())) } "#); -- 2.30.2